#!/bin/bash
#
read -p "源文件：" src_file
read -p "目的目录：" des_file

if [ -d ${des_file} ];then
	cp $src_file $des_file
	echo "源文件$src_file拷贝到$des_file"
else
	mkdir -p $des_file
	cp $src_file $des_file
	echo "源文件$src_file拷贝到$des_file"
fi
